<?php
/**
 * Created by PhpStorm.
 * User: 戎大富
 * Date: 2017/12/25
 * Time: 16:39
 */
namespace app\super\validate;

use think\Validate;
class StudyValidate extends Validate{
    protected $rule = [
        'project_name' => 'require',
        'project_teacher_name' =>'require',
        'project_teacher_introduction'=>'require'
    ];
    protected $message = [
        'project_name.require' => '课程名称不能为空',
        'project_teacher_name.require' => '讲师姓名不能为空',
        'project_teacher_introduction.require' => '讲师介绍不能为空',
    ];
}